package com.ym.medical.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.common.constant.BeanCovert;
import com.ym.medical.domain.entity.SubjectReplyEntity;
import com.ym.medical.enums.AuditStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

import static com.ym.common.constant.ValidRule.Add;
import static com.ym.common.constant.ValidRule.Update;

/**
 * 主题回复对象 subject_reply
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("mobile主题回复-修改")
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SubjectReplyUpdateMobileParam extends BeanCovert<SubjectReplyEntity>{

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("用户(评论者)ID")
    private Long userId;

    @ApiModelProperty("主题ID")
    private Long subjectId;

    @ApiModelProperty("被回复ID(父级节点ID)")
    private Long parentId;

    @ApiModelProperty("附件ID")
    private String attrId;

    @ApiModelProperty("回复内容")
    private String content;

}
